package cn.tianyigps.tianyigpspublic.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.mongodb.core.geo.GeoJsonPolygon;

import java.util.Set;

/**
 * @Author: LiuHao
 * @Descirption: 地理位置，围栏，区域，风险点
 * @Date: 2019/4/3_10:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class GeoFence extends BaseEntity {

    private static final long serialVersionUID = -5518517997747195592L;

    private String group;//分组

    private Set<String> tags;

    private GeoJsonPolygon polygon;//多边形围栏

    private String description;//描述

}
